package com.coder.shop.dao.mapper;

import com.coder.shop.dao.model.ShopPromotion;
import com.coder.shop.dao.model.ShopPromotionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopPromotionMapper {
    long countByExample(ShopPromotionExample example);

    int deleteByExample(ShopPromotionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ShopPromotion record);

    int insertSelective(ShopPromotion record);

    List<ShopPromotion> selectByExample(ShopPromotionExample example);

    ShopPromotion selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ShopPromotion record, @Param("example") ShopPromotionExample example);

    int updateByExample(@Param("record") ShopPromotion record, @Param("example") ShopPromotionExample example);

    int updateByPrimaryKeySelective(ShopPromotion record);

    int updateByPrimaryKey(ShopPromotion record);
}